package com.zed.code.model;

import java.io.Serializable;

/**
 * T_EquipmentInfo
 * @author 
 */
public class TEquipmentinfo implements Serializable {
    private String equipmentid;

    private String manufacturerid;

    private String manufacturername;

    private String equipmentmodel;

    private String equipmentname;

    private String productiondate;

    private Integer equipmenttype;

    private Float power;

    private Integer nationalstandard;

    private Float equipmentlng;

    private Float equipmentlat;

    private String stationid;

    private static final long serialVersionUID = 1L;

    public String getEquipmentid() {
        return equipmentid;
    }

    public void setEquipmentid(String equipmentid) {
        this.equipmentid = equipmentid;
    }

    public String getManufacturerid() {
        return manufacturerid;
    }

    public void setManufacturerid(String manufacturerid) {
        this.manufacturerid = manufacturerid;
    }

    public String getManufacturername() {
        return manufacturername;
    }

    public void setManufacturername(String manufacturername) {
        this.manufacturername = manufacturername;
    }

    public String getEquipmentmodel() {
        return equipmentmodel;
    }

    public void setEquipmentmodel(String equipmentmodel) {
        this.equipmentmodel = equipmentmodel;
    }

    public String getEquipmentname() {
        return equipmentname;
    }

    public void setEquipmentname(String equipmentname) {
        this.equipmentname = equipmentname;
    }

    public String getProductiondate() {
        return productiondate;
    }

    public void setProductiondate(String productiondate) {
        this.productiondate = productiondate;
    }

    public Integer getEquipmenttype() {
        return equipmenttype;
    }

    public void setEquipmenttype(Integer equipmenttype) {
        this.equipmenttype = equipmenttype;
    }

    public Float getPower() {
        return power;
    }

    public void setPower(Float power) {
        this.power = power;
    }

    public Integer getNationalstandard() {
        return nationalstandard;
    }

    public void setNationalstandard(Integer nationalstandard) {
        this.nationalstandard = nationalstandard;
    }

    public Float getEquipmentlng() {
        return equipmentlng;
    }

    public void setEquipmentlng(Float equipmentlng) {
        this.equipmentlng = equipmentlng;
    }

    public Float getEquipmentlat() {
        return equipmentlat;
    }

    public void setEquipmentlat(Float equipmentlat) {
        this.equipmentlat = equipmentlat;
    }

    public String getStationid() {
        return stationid;
    }

    public void setStationid(String stationid) {
        this.stationid = stationid;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TEquipmentinfo other = (TEquipmentinfo) that;
        return (this.getEquipmentid() == null ? other.getEquipmentid() == null : this.getEquipmentid().equals(other.getEquipmentid()))
            && (this.getManufacturerid() == null ? other.getManufacturerid() == null : this.getManufacturerid().equals(other.getManufacturerid()))
            && (this.getManufacturername() == null ? other.getManufacturername() == null : this.getManufacturername().equals(other.getManufacturername()))
            && (this.getEquipmentmodel() == null ? other.getEquipmentmodel() == null : this.getEquipmentmodel().equals(other.getEquipmentmodel()))
            && (this.getEquipmentname() == null ? other.getEquipmentname() == null : this.getEquipmentname().equals(other.getEquipmentname()))
            && (this.getProductiondate() == null ? other.getProductiondate() == null : this.getProductiondate().equals(other.getProductiondate()))
            && (this.getEquipmenttype() == null ? other.getEquipmenttype() == null : this.getEquipmenttype().equals(other.getEquipmenttype()))
            && (this.getPower() == null ? other.getPower() == null : this.getPower().equals(other.getPower()))
            && (this.getNationalstandard() == null ? other.getNationalstandard() == null : this.getNationalstandard().equals(other.getNationalstandard()))
            && (this.getEquipmentlng() == null ? other.getEquipmentlng() == null : this.getEquipmentlng().equals(other.getEquipmentlng()))
            && (this.getEquipmentlat() == null ? other.getEquipmentlat() == null : this.getEquipmentlat().equals(other.getEquipmentlat()))
            && (this.getStationid() == null ? other.getStationid() == null : this.getStationid().equals(other.getStationid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getEquipmentid() == null) ? 0 : getEquipmentid().hashCode());
        result = prime * result + ((getManufacturerid() == null) ? 0 : getManufacturerid().hashCode());
        result = prime * result + ((getManufacturername() == null) ? 0 : getManufacturername().hashCode());
        result = prime * result + ((getEquipmentmodel() == null) ? 0 : getEquipmentmodel().hashCode());
        result = prime * result + ((getEquipmentname() == null) ? 0 : getEquipmentname().hashCode());
        result = prime * result + ((getProductiondate() == null) ? 0 : getProductiondate().hashCode());
        result = prime * result + ((getEquipmenttype() == null) ? 0 : getEquipmenttype().hashCode());
        result = prime * result + ((getPower() == null) ? 0 : getPower().hashCode());
        result = prime * result + ((getNationalstandard() == null) ? 0 : getNationalstandard().hashCode());
        result = prime * result + ((getEquipmentlng() == null) ? 0 : getEquipmentlng().hashCode());
        result = prime * result + ((getEquipmentlat() == null) ? 0 : getEquipmentlat().hashCode());
        result = prime * result + ((getStationid() == null) ? 0 : getStationid().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", equipmentid=").append(equipmentid);
        sb.append(", manufacturerid=").append(manufacturerid);
        sb.append(", manufacturername=").append(manufacturername);
        sb.append(", equipmentmodel=").append(equipmentmodel);
        sb.append(", equipmentname=").append(equipmentname);
        sb.append(", productiondate=").append(productiondate);
        sb.append(", equipmenttype=").append(equipmenttype);
        sb.append(", power=").append(power);
        sb.append(", nationalstandard=").append(nationalstandard);
        sb.append(", equipmentlng=").append(equipmentlng);
        sb.append(", equipmentlat=").append(equipmentlat);
        sb.append(", stationid=").append(stationid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}